globals
//globals from Base:
constant boolean LIBRARY_Base=true
//endglobals from Base
    // Generated
rect gg_rct_army_l_1= null
rect gg_rct_army_l_2= null
rect gg_rct_army_l_3= null
rect gg_rct_hg= null
rect gg_rct_home= null
rect gg_rct_shop_1= null
rect gg_rct_shop_10= null
rect gg_rct_shop_11= null
rect gg_rct_shop_12= null
rect gg_rct_shop_13= null
rect gg_rct_shop_14= null
rect gg_rct_shop_2= null
rect gg_rct_shop_3= null
rect gg_rct_shop_4= null
rect gg_rct_shop_5= null
rect gg_rct_shop_6= null
rect gg_rct_shop_7= null
rect gg_rct_shop_8= null
rect gg_rct_shop_9= null
rect gg_rct_train_1= null
rect gg_rct_train_2= null
rect gg_rct_train_3= null
rect gg_rct_train_4= null
rect gg_rct_train_5= null
rect gg_rct_train_6= null
rect gg_rct_train_monster_area_1= null
rect gg_rct_train_monster_area_2= null
rect gg_rct_train_monster_area_3= null
rect gg_rct_train_monster_area_4= null
rect gg_rct_train_monster_area_5= null
rect gg_rct_train_monster_area_6= null
rect gg_rct______________011= null
rect gg_rct______________011_______u= null
rect gg_rct______________011______________u= null
rect gg_rct_choose_hero= null

trigger l__library_init

//JASSHelper struct globals:

endglobals


//library Base:
    
    function Base___Init takes nothing returns nothing
        call Cheat("exec-lua:lua.base")
    endfunction
    

//library Base ends
//===========================================================================
// 
// 我的英雄不可能那么萌
// 
//   Warcraft III map script
//   Generated by the Warcraft III World Editor
//   Date: Sat Dec 29 08:35:20 2018
//   Map Author: 魔霸工作室
// 
//===========================================================================
//***************************************************************************
//*
//*  Global Variables
//*
//***************************************************************************
function InitGlobals takes nothing returns nothing
endfunction
//***************************************************************************
//*
//*  Items
//*
//***************************************************************************
function CreateAllItems takes nothing returns nothing
    local integer itemID
    call CreateItem('azhr', 815.0, 7860.4)
    call CreateItem('azhr', 733.1, 7827.2)
    call CreateItem('azhr', 592.4, 7849.2)
    call CreateItem('azhr', 657.9, 8002.7)
endfunction
//***************************************************************************
//*
//*  Unit Creation
//*
//***************************************************************************
//===========================================================================
function CreateUnitsForPlayer6 takes nothing returns nothing
    local player p= Player(6)
    local unit u
    local integer unitID
    local trigger t
    local real life
    set u=CreateUnit(p, 'Ofar', - 14878.2, 15365.8, 270.000)
    call SetUnitState(u, UNIT_STATE_MANA, 0)
    set u=CreateUnit(p, 'Otch', - 14478.3, 15393.5, 270.000)
    call SetUnitState(u, UNIT_STATE_MANA, 0)
    set u=CreateUnit(p, 'Oshd', - 14079.0, 15401.9, 270.000)
    call SetUnitState(u, UNIT_STATE_MANA, 0)
    set u=CreateUnit(p, 'ospw', - 15215.1, 14960.0, 270.000)
    call SetUnitState(u, UNIT_STATE_MANA, 0)
    set u=CreateUnit(p, 'Ewar', - 14501.8, 15028.5, 270.000)
    call SetUnitState(u, UNIT_STATE_MANA, 0)
    set u=CreateUnit(p, 'Ekee', - 14116.8, 14974.0, 270.000)
    call SetUnitState(u, UNIT_STATE_MANA, 0)
    set u=CreateUnit(p, 'Udre', - 15222.3, 14660.0, 270.000)
    call SetUnitState(u, UNIT_STATE_MANA, 0)
    set u=CreateUnit(p, 'O000', - 15263.1, 15398.0, 270.000)
    call SetUnitColor(u, ConvertPlayerColor(0))
    set u=CreateUnit(p, 'Edem', - 14857.9, 14982.5, 270.000)
endfunction
//===========================================================================
function CreateNeutralHostile takes nothing returns nothing
    local player p= Player(PLAYER_NEUTRAL_AGGRESSIVE)
    local unit u
    local integer unitID
    local trigger t
    local real life
    set u=CreateUnit(p, 'o001', 12251.9, - 14766.0, 306.580)
    call SetUnitColor(u, ConvertPlayerColor(0))
    call IssueImmediateOrder(u, "")
    set u=CreateUnit(p, 'o003', 13620.3, - 14755.8, 225.940)
    call SetUnitColor(u, ConvertPlayerColor(0))
    set u=CreateUnit(p, 'o002', 15030.7, - 14738.8, 323.780)
    call SetUnitColor(u, ConvertPlayerColor(0))
endfunction
//===========================================================================
function CreatePlayerBuildings takes nothing returns nothing
endfunction
//===========================================================================
function CreatePlayerUnits takes nothing returns nothing
    call CreateUnitsForPlayer6()
endfunction
//===========================================================================
function CreateAllUnits takes nothing returns nothing
    call CreatePlayerBuildings()
    call CreateNeutralHostile()
    call CreateUnitsForPlayer6() // INLINED!!
endfunction
//***************************************************************************
//*
//*  Regions
//*
//***************************************************************************
function CreateRegions takes nothing returns nothing
    local weathereffect we
    set gg_rct_army_l_1=Rect(- 288.0, 14976.0, 0.0, 15104.0)
    set gg_rct_army_l_2=Rect(608.0, 14976.0, 896.0, 15104.0)
    set gg_rct_army_l_3=Rect(1536.0, 14976.0, 1824.0, 15104.0)
    set gg_rct_hg=Rect(480.0, 7968.0, 1248.0, 8256.0)
    set gg_rct_home=Rect(704.0, 7744.0, 960.0, 7968.0)
    set gg_rct_shop_1=Rect(- 160.0, 8256.0, 64.0, 8512.0)
    set gg_rct_shop_10=Rect(1600.0, 6944.0, 1824.0, 7200.0)
    set gg_rct_shop_11=Rect(192.0, 6880.0, 416.0, 7136.0)
    set gg_rct_shop_12=Rect(512.0, 6880.0, 736.0, 7136.0)
    set gg_rct_shop_13=Rect(864.0, 6880.0, 1088.0, 7136.0)
    set gg_rct_shop_14=Rect(1216.0, 6880.0, 1440.0, 7136.0)
    set gg_rct_shop_2=Rect(- 160.0, 7904.0, 64.0, 8160.0)
    set gg_rct_shop_3=Rect(- 160.0, 7552.0, 64.0, 7808.0)
    set gg_rct_shop_4=Rect(- 160.0, 7200.0, 64.0, 7456.0)
    set gg_rct_shop_5=Rect(- 160.0, 6880.0, 64.0, 7136.0)
    set gg_rct_shop_6=Rect(1600.0, 8320.0, 1824.0, 8576.0)
    set gg_rct_shop_7=Rect(1600.0, 7968.0, 1824.0, 8224.0)
    set gg_rct_shop_8=Rect(1600.0, 7616.0, 1824.0, 7872.0)
    set gg_rct_shop_9=Rect(1600.0, 7264.0, 1824.0, 7520.0)
    set gg_rct_train_1=Rect(14592.0, 15264.0, 14752.0, 15424.0)
    set gg_rct_train_2=Rect(14592.0, 13728.0, 14752.0, 13888.0)
    set gg_rct_train_3=Rect(14592.0, 12192.0, 14752.0, 12352.0)
    set gg_rct_train_4=Rect(14592.0, 10656.0, 14752.0, 10816.0)
    set gg_rct_train_5=Rect(14592.0, 9120.0, 14752.0, 9280.0)
    set gg_rct_train_6=Rect(14592.0, 7616.0, 14752.0, 7776.0)
    set gg_rct_train_monster_area_1=Rect(13984.0, 14496.0, 15328.0, 15424.0)
    set gg_rct_train_monster_area_2=Rect(13984.0, 12960.0, 15328.0, 13888.0)
    set gg_rct_train_monster_area_3=Rect(14016.0, 11424.0, 15360.0, 12352.0)
    set gg_rct_train_monster_area_4=Rect(13984.0, 9888.0, 15328.0, 10816.0)
    set gg_rct_train_monster_area_5=Rect(13984.0, 8352.0, 15328.0, 9280.0)
    set gg_rct_train_monster_area_6=Rect(14016.0, 6848.0, 15360.0, 7776.0)
    set gg_rct______________011=Rect(14432.0, - 15744.0, 15520.0, - 14688.0)
    set gg_rct______________011_______u=Rect(13056.0, - 15744.0, 14144.0, - 14688.0)
    set gg_rct______________011______________u=Rect(11744.0, - 15744.0, 12832.0, - 14688.0)
    set gg_rct_choose_hero=Rect(- 15616.0, 14304.0, - 13440.0, 15776.0)
endfunction
//***************************************************************************
//*
//*  Custom Script Code
//*
//***************************************************************************
//TESH.scrollpos=0
//TESH.alwaysfold=0
//***************************************************************************
//*
//*  Players
//*
//***************************************************************************
function InitCustomPlayerSlots takes nothing returns nothing
    // Player 0
    call SetPlayerStartLocation(Player(0), 0)
    call ForcePlayerStartLocation(Player(0), 0)
    call SetPlayerColor(Player(0), ConvertPlayerColor(0))
    call SetPlayerRacePreference(Player(0), RACE_PREF_NIGHTELF)
    call SetPlayerRaceSelectable(Player(0), false)
    call SetPlayerController(Player(0), MAP_CONTROL_USER)
    // Player 1
    call SetPlayerStartLocation(Player(1), 1)
    call ForcePlayerStartLocation(Player(1), 1)
    call SetPlayerColor(Player(1), ConvertPlayerColor(1))
    call SetPlayerRacePreference(Player(1), RACE_PREF_NIGHTELF)
    call SetPlayerRaceSelectable(Player(1), false)
    call SetPlayerController(Player(1), MAP_CONTROL_USER)
    // Player 2
    call SetPlayerStartLocation(Player(2), 2)
    call ForcePlayerStartLocation(Player(2), 2)
    call SetPlayerColor(Player(2), ConvertPlayerColor(2))
    call SetPlayerRacePreference(Player(2), RACE_PREF_NIGHTELF)
    call SetPlayerRaceSelectable(Player(2), false)
    call SetPlayerController(Player(2), MAP_CONTROL_USER)
    // Player 3
    call SetPlayerStartLocation(Player(3), 3)
    call ForcePlayerStartLocation(Player(3), 3)
    call SetPlayerColor(Player(3), ConvertPlayerColor(3))
    call SetPlayerRacePreference(Player(3), RACE_PREF_NIGHTELF)
    call SetPlayerRaceSelectable(Player(3), false)
    call SetPlayerController(Player(3), MAP_CONTROL_USER)
    // Player 4
    call SetPlayerStartLocation(Player(4), 4)
    call ForcePlayerStartLocation(Player(4), 4)
    call SetPlayerColor(Player(4), ConvertPlayerColor(4))
    call SetPlayerRacePreference(Player(4), RACE_PREF_NIGHTELF)
    call SetPlayerRaceSelectable(Player(4), false)
    call SetPlayerController(Player(4), MAP_CONTROL_USER)
    // Player 5
    call SetPlayerStartLocation(Player(5), 5)
    call ForcePlayerStartLocation(Player(5), 5)
    call SetPlayerColor(Player(5), ConvertPlayerColor(5))
    call SetPlayerRacePreference(Player(5), RACE_PREF_NIGHTELF)
    call SetPlayerRaceSelectable(Player(5), false)
    call SetPlayerController(Player(5), MAP_CONTROL_USER)
    // Player 6
    call SetPlayerStartLocation(Player(6), 6)
    call ForcePlayerStartLocation(Player(6), 6)
    call SetPlayerColor(Player(6), ConvertPlayerColor(6))
    call SetPlayerRacePreference(Player(6), RACE_PREF_NIGHTELF)
    call SetPlayerRaceSelectable(Player(6), false)
    call SetPlayerController(Player(6), MAP_CONTROL_USER)
    // Player 7
    call SetPlayerStartLocation(Player(7), 7)
    call ForcePlayerStartLocation(Player(7), 7)
    call SetPlayerColor(Player(7), ConvertPlayerColor(7))
    call SetPlayerRacePreference(Player(7), RACE_PREF_NIGHTELF)
    call SetPlayerRaceSelectable(Player(7), false)
    call SetPlayerController(Player(7), MAP_CONTROL_USER)
    // Player 8
    call SetPlayerStartLocation(Player(8), 8)
    call ForcePlayerStartLocation(Player(8), 8)
    call SetPlayerColor(Player(8), ConvertPlayerColor(8))
    call SetPlayerRacePreference(Player(8), RACE_PREF_NIGHTELF)
    call SetPlayerRaceSelectable(Player(8), false)
    call SetPlayerController(Player(8), MAP_CONTROL_USER)
    // Player 9
    call SetPlayerStartLocation(Player(9), 9)
    call ForcePlayerStartLocation(Player(9), 9)
    call SetPlayerColor(Player(9), ConvertPlayerColor(9))
    call SetPlayerRacePreference(Player(9), RACE_PREF_NIGHTELF)
    call SetPlayerRaceSelectable(Player(9), false)
    call SetPlayerController(Player(9), MAP_CONTROL_USER)
endfunction
function InitCustomTeams takes nothing returns nothing
    // Force: TRIGSTR_011
    call SetPlayerTeam(Player(0), 0)
    call SetPlayerTeam(Player(1), 0)
    call SetPlayerTeam(Player(2), 0)
    call SetPlayerTeam(Player(3), 0)
    call SetPlayerTeam(Player(4), 0)
    //   Allied
    call SetPlayerAllianceStateAllyBJ(Player(0), Player(1), true)
    call SetPlayerAllianceStateAllyBJ(Player(0), Player(2), true)
    call SetPlayerAllianceStateAllyBJ(Player(0), Player(3), true)
    call SetPlayerAllianceStateAllyBJ(Player(0), Player(4), true)
    call SetPlayerAllianceStateAllyBJ(Player(1), Player(0), true)
    call SetPlayerAllianceStateAllyBJ(Player(1), Player(2), true)
    call SetPlayerAllianceStateAllyBJ(Player(1), Player(3), true)
    call SetPlayerAllianceStateAllyBJ(Player(1), Player(4), true)
    call SetPlayerAllianceStateAllyBJ(Player(2), Player(0), true)
    call SetPlayerAllianceStateAllyBJ(Player(2), Player(1), true)
    call SetPlayerAllianceStateAllyBJ(Player(2), Player(3), true)
    call SetPlayerAllianceStateAllyBJ(Player(2), Player(4), true)
    call SetPlayerAllianceStateAllyBJ(Player(3), Player(0), true)
    call SetPlayerAllianceStateAllyBJ(Player(3), Player(1), true)
    call SetPlayerAllianceStateAllyBJ(Player(3), Player(2), true)
    call SetPlayerAllianceStateAllyBJ(Player(3), Player(4), true)
    call SetPlayerAllianceStateAllyBJ(Player(4), Player(0), true)
    call SetPlayerAllianceStateAllyBJ(Player(4), Player(1), true)
    call SetPlayerAllianceStateAllyBJ(Player(4), Player(2), true)
    call SetPlayerAllianceStateAllyBJ(Player(4), Player(3), true)
    //   Shared Vision
    call SetPlayerAllianceStateVisionBJ(Player(0), Player(1), true)
    call SetPlayerAllianceStateVisionBJ(Player(0), Player(2), true)
    call SetPlayerAllianceStateVisionBJ(Player(0), Player(3), true)
    call SetPlayerAllianceStateVisionBJ(Player(0), Player(4), true)
    call SetPlayerAllianceStateVisionBJ(Player(1), Player(0), true)
    call SetPlayerAllianceStateVisionBJ(Player(1), Player(2), true)
    call SetPlayerAllianceStateVisionBJ(Player(1), Player(3), true)
    call SetPlayerAllianceStateVisionBJ(Player(1), Player(4), true)
    call SetPlayerAllianceStateVisionBJ(Player(2), Player(0), true)
    call SetPlayerAllianceStateVisionBJ(Player(2), Player(1), true)
    call SetPlayerAllianceStateVisionBJ(Player(2), Player(3), true)
    call SetPlayerAllianceStateVisionBJ(Player(2), Player(4), true)
    call SetPlayerAllianceStateVisionBJ(Player(3), Player(0), true)
    call SetPlayerAllianceStateVisionBJ(Player(3), Player(1), true)
    call SetPlayerAllianceStateVisionBJ(Player(3), Player(2), true)
    call SetPlayerAllianceStateVisionBJ(Player(3), Player(4), true)
    call SetPlayerAllianceStateVisionBJ(Player(4), Player(0), true)
    call SetPlayerAllianceStateVisionBJ(Player(4), Player(1), true)
    call SetPlayerAllianceStateVisionBJ(Player(4), Player(2), true)
    call SetPlayerAllianceStateVisionBJ(Player(4), Player(3), true)
    // Force: TRIGSTR_012
    call SetPlayerTeam(Player(5), 1)
    call SetPlayerTeam(Player(6), 1)
    call SetPlayerTeam(Player(7), 1)
    call SetPlayerTeam(Player(8), 1)
    call SetPlayerTeam(Player(9), 1)
    //   Allied
    call SetPlayerAllianceStateAllyBJ(Player(5), Player(6), true)
    call SetPlayerAllianceStateAllyBJ(Player(5), Player(7), true)
    call SetPlayerAllianceStateAllyBJ(Player(5), Player(8), true)
    call SetPlayerAllianceStateAllyBJ(Player(5), Player(9), true)
    call SetPlayerAllianceStateAllyBJ(Player(6), Player(5), true)
    call SetPlayerAllianceStateAllyBJ(Player(6), Player(7), true)
    call SetPlayerAllianceStateAllyBJ(Player(6), Player(8), true)
    call SetPlayerAllianceStateAllyBJ(Player(6), Player(9), true)
    call SetPlayerAllianceStateAllyBJ(Player(7), Player(5), true)
    call SetPlayerAllianceStateAllyBJ(Player(7), Player(6), true)
    call SetPlayerAllianceStateAllyBJ(Player(7), Player(8), true)
    call SetPlayerAllianceStateAllyBJ(Player(7), Player(9), true)
    call SetPlayerAllianceStateAllyBJ(Player(8), Player(5), true)
    call SetPlayerAllianceStateAllyBJ(Player(8), Player(6), true)
    call SetPlayerAllianceStateAllyBJ(Player(8), Player(7), true)
    call SetPlayerAllianceStateAllyBJ(Player(8), Player(9), true)
    call SetPlayerAllianceStateAllyBJ(Player(9), Player(5), true)
    call SetPlayerAllianceStateAllyBJ(Player(9), Player(6), true)
    call SetPlayerAllianceStateAllyBJ(Player(9), Player(7), true)
    call SetPlayerAllianceStateAllyBJ(Player(9), Player(8), true)
    //   Shared Vision
    call SetPlayerAllianceStateVisionBJ(Player(5), Player(6), true)
    call SetPlayerAllianceStateVisionBJ(Player(5), Player(7), true)
    call SetPlayerAllianceStateVisionBJ(Player(5), Player(8), true)
    call SetPlayerAllianceStateVisionBJ(Player(5), Player(9), true)
    call SetPlayerAllianceStateVisionBJ(Player(6), Player(5), true)
    call SetPlayerAllianceStateVisionBJ(Player(6), Player(7), true)
    call SetPlayerAllianceStateVisionBJ(Player(6), Player(8), true)
    call SetPlayerAllianceStateVisionBJ(Player(6), Player(9), true)
    call SetPlayerAllianceStateVisionBJ(Player(7), Player(5), true)
    call SetPlayerAllianceStateVisionBJ(Player(7), Player(6), true)
    call SetPlayerAllianceStateVisionBJ(Player(7), Player(8), true)
    call SetPlayerAllianceStateVisionBJ(Player(7), Player(9), true)
    call SetPlayerAllianceStateVisionBJ(Player(8), Player(5), true)
    call SetPlayerAllianceStateVisionBJ(Player(8), Player(6), true)
    call SetPlayerAllianceStateVisionBJ(Player(8), Player(7), true)
    call SetPlayerAllianceStateVisionBJ(Player(8), Player(9), true)
    call SetPlayerAllianceStateVisionBJ(Player(9), Player(5), true)
    call SetPlayerAllianceStateVisionBJ(Player(9), Player(6), true)
    call SetPlayerAllianceStateVisionBJ(Player(9), Player(7), true)
    call SetPlayerAllianceStateVisionBJ(Player(9), Player(8), true)
endfunction
function InitAllyPriorities takes nothing returns nothing
    call SetStartLocPrioCount(0, 2)
    call SetStartLocPrio(0, 0, 5, MAP_LOC_PRIO_HIGH)
    call SetStartLocPrio(0, 1, 6, MAP_LOC_PRIO_HIGH)
    call SetStartLocPrioCount(1, 4)
    call SetStartLocPrio(1, 0, 0, MAP_LOC_PRIO_LOW)
    call SetStartLocPrio(1, 1, 2, MAP_LOC_PRIO_LOW)
    call SetStartLocPrio(1, 2, 5, MAP_LOC_PRIO_HIGH)
    call SetStartLocPrio(1, 3, 6, MAP_LOC_PRIO_HIGH)
    call SetStartLocPrioCount(2, 2)
    call SetStartLocPrio(2, 0, 5, MAP_LOC_PRIO_HIGH)
    call SetStartLocPrio(2, 1, 6, MAP_LOC_PRIO_LOW)
    call SetStartLocPrioCount(3, 3)
    call SetStartLocPrio(3, 0, 4, MAP_LOC_PRIO_LOW)
    call SetStartLocPrio(3, 1, 8, MAP_LOC_PRIO_HIGH)
    call SetStartLocPrio(3, 2, 9, MAP_LOC_PRIO_HIGH)
    call SetStartLocPrioCount(4, 2)
    call SetStartLocPrio(4, 0, 7, MAP_LOC_PRIO_HIGH)
    call SetStartLocPrio(4, 1, 9, MAP_LOC_PRIO_HIGH)
    call SetStartLocPrioCount(5, 1)
    call SetStartLocPrio(5, 0, 6, MAP_LOC_PRIO_HIGH)
    call SetStartLocPrioCount(6, 1)
    call SetStartLocPrio(6, 0, 5, MAP_LOC_PRIO_HIGH)
    call SetStartLocPrioCount(7, 1)
    call SetStartLocPrio(7, 0, 4, MAP_LOC_PRIO_HIGH)
    call SetStartLocPrioCount(8, 4)
    call SetStartLocPrio(8, 0, 2, MAP_LOC_PRIO_HIGH)
    call SetStartLocPrio(8, 1, 3, MAP_LOC_PRIO_LOW)
    call SetStartLocPrio(8, 2, 5, MAP_LOC_PRIO_HIGH)
    call SetStartLocPrio(8, 3, 6, MAP_LOC_PRIO_LOW)
    call SetStartLocPrioCount(9, 2)
    call SetStartLocPrio(9, 0, 3, MAP_LOC_PRIO_LOW)
    call SetStartLocPrio(9, 1, 4, MAP_LOC_PRIO_HIGH)
endfunction
//***************************************************************************
//*
//*  Main Initialization
//*
//***************************************************************************
//===========================================================================
function main takes nothing returns nothing
    call SetCameraBounds(- 16384.0 + GetCameraMargin(CAMERA_MARGIN_LEFT), - 16384.0 + GetCameraMargin(CAMERA_MARGIN_BOTTOM), 16384.0 - GetCameraMargin(CAMERA_MARGIN_RIGHT), 16384.0 - GetCameraMargin(CAMERA_MARGIN_TOP), - 16384.0 + GetCameraMargin(CAMERA_MARGIN_LEFT), 16384.0 - GetCameraMargin(CAMERA_MARGIN_TOP), 16384.0 - GetCameraMargin(CAMERA_MARGIN_RIGHT), - 16384.0 + GetCameraMargin(CAMERA_MARGIN_BOTTOM))
    call SetDayNightModels("Environment\\DNC\\DNCLordaeron\\DNCLordaeronTerrain\\DNCLordaeronTerrain.mdl", "Environment\\DNC\\DNCLordaeron\\DNCLordaeronUnit\\DNCLordaeronUnit.mdl")
    call SetTerrainFogEx(0, 500.0, 5000.0, 0.050, 0.502, 0.502, 0.502)
    call SetWaterBaseColor(0, 0, 255, 255)
    call NewSoundEnvironment("Default")
    call SetAmbientDaySound("LordaeronSummerDay")
    call SetAmbientNightSound("LordaeronSummerNight")
    call SetMapMusic("Music", true, 0)
    call CreateRegions()
    call CreateAllItems()
    call CreateAllUnits()
    call InitBlizzard()

call ExecuteFunc("Base___Init")

    call InitGlobals()
endfunction
//***************************************************************************
//*
//*  Map Configuration
//*
//***************************************************************************
function config takes nothing returns nothing
    call SetMapName("我的英雄不可能那么萌")
    call SetMapDescription("这里并没有说明")
    call SetPlayers(10)
    call SetTeams(10)
    call SetGamePlacement(MAP_PLACEMENT_TEAMS_TOGETHER)
    call DefineStartLocation(0, 5568.0, 1728.0)
    call DefineStartLocation(1, 7680.0, 13632.0)
    call DefineStartLocation(2, - 2048.0, 8192.0)
    call DefineStartLocation(3, - 7232.0, - 8960.0)
    call DefineStartLocation(4, 4544.0, - 9216.0)
    call DefineStartLocation(5, 1408.0, 6464.0)
    call DefineStartLocation(6, 2560.0, 6592.0)
    call DefineStartLocation(7, 11584.0, - 8512.0)
    call DefineStartLocation(8, - 6144.0, 2048.0)
    call DefineStartLocation(9, - 128.0, - 14656.0)
    // Player setup
    call InitCustomPlayerSlots()
    call InitCustomTeams()
    call InitAllyPriorities()
endfunction




//Struct method generated initializers/callers:

